package drg_group.taizhou_2022.MDC;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import drg_group.taizhou_2022.Base;
import drg_group.taizhou_2022.MedicalRecord;
import drg_group.taizhou_2022.ADRG.*;

public class MDCD{
    public static String group(MedicalRecord record){
        String[] mdc_zd={"C13.200","J38.700x022","D37.018","K07.000x004","C13.901","D04.000","A18.201","T28.501","B44.800x006","J33.900","K13.200x010","K00.002","B48.300x002+K93.8*","T17.101","C00.302","H61.802","K11.600x005","Q38.100","K14.802","J31.001","C44.300x005","Q67.404","J03.900x006","H60.300","J32.900","K10.800x008","K13.015","Q37.200","J02.802","D10.200","K03.001","C76.000x002","J38.700x021","C44.201","C47.000x010","K00.900","M85.000x081","C04.800","J39.221","K09.806","K07.603","Q17.200","C05.900x002","C11.900","J01.200","H71.x03","Q36.904","H60.400x004","C05.000","C77.004","D04.200x001","H60.200","H74.300x003","Q38.802","K07.102","S01.300x011","S11.800x081","K13.700x013","J34.107","J38.402","K11.801","Q38.501","D00.001","C41.007","D21.005","H69.900","J39.200x020","K11.802","Q17.302","S15.800x003","T18.002","K13.500","K08.802","K12.200x018","Q38.000x005","S01.300x081","H73.803","S15.200","A18.202","R59.900","J38.716","K11.404","J35.000","S12.803","J38.310","J03.900x001","Q27.302","C79.504","D10.308","K12.218","K12.304","D48.701","K13.000x001","Q17.803","K14.302","Q38.300x005","C32.100","S10.700","K11.300","K11.303","Q30.200x001","H91.000","R04.801","Q35.502","H61.801","K13.205","C00.304","J95.500","Q85.905","S00.800x053","C11.302","D18.000x844","Q17.900","C41.005","D16.405","S00.800x055","K07.000x009","D18.100x010","S13.400x003","T27.000x003","C77.006","Q35.901","C13.000","J38.401","Q36.900","J37.000","H92.100","Q18.200x004","C06.001","S00.800x054","K05.203","K07.301","C77.005","K10.301","K05.201","D18.000x501","K10.100","E34.800x005","B49.x09","J95.807","C02.201","K13.101","J32.800x006","C00.300","K13.200x004","K03.106","K03.604","K11.800x006","H60.000","Q38.000x003","J38.300x018","S10.002","Q85.900x031","B44.804","J35.808","K00.608","K11.806","K07.600","H70.102","D18.100x004","M95.207","C01.x01","D10.307","C01.x00","J05.000","H65.400","K11.604","Q75.400","S00.900","J38.000x031","K13.100","K05.104","H70.000x009","K10.800x010","H61.901","J04.001","D10.402","C41.000x018","J32.800x011","K09.205","Q35.900","C11.901","T17.200x001","K13.000x018","H61.806","C03.100x002","J32.101","S00.401","C78.300x004","J32.901","C79.800x825","J34.800x033","K07.100x010","C06.100","H60.501","S02.600x041","J32.801","K11.700x001","J38.300x013","M95.210","Q38.600x004","D22.201","Q38.003","J06.900x001","D16.404","K09.102","Q18.400","K10.203","K06.800x012","M95.006","H61.105","D37.003","J30.400","C14.003","J34.000x004","C11.001","H74.201","K03.602","B87.300x002+J99.8*","C00.001","K10.200","K00.200x005","K11.210","D16.407","C03.100","C44.000","K07.100x012","Q38.701","S09.906","K07.000x013","D18.000x823","J30.300x001","K06.200","C06.100x004","J11.802+H67.1*","J32.800x008","J35.802","K06.100x003","J01.400","K14.002","K11.102","J00.x00x004","K07.010","S19.800x002","B49.x08","J34.806","Q16.400","J34.005","H74.101","D10.500x002","D48.200x006","K07.901","D14.001","S00.400x052","K07.002","A18.400x019","C47.000x006","J38.309","E85.400x006","M95.202","K12.208","Q38.303","K07.902","A18.803+M63.0*","D11.702","S13.500x003","C10.900","D18.101","S02.901","S00.001","C11.200x002","Q17.301","Q27.800x021","S02.600x051","S09.900x006","Q30.802","K06.804","A66.501+J99.8*","A18.800x006+K93.8*","J32.003","C08.000","D10.504","K13.715","K02.500","K12.001","K11.101","D38.500x001","A18.205","H93.301","D23.301","K04.400","H91.901","C13.101","K12.100x013","Q38.700","Q31.801","H81.100","J37.004","K08.101","Q37.800","Q31.803","J33.801","K09.200","C10.200","K14.800x013","K04.001","D37.000x008","C78.303","K00.402","K14.300","Q75.801","Q38.000x006","K11.601","C11.300x005","S00.300","H83.301","M35.900x011","D37.017","Q31.800x004","S17.900","J32.100x005","J11.100x004","D18.000x503","K04.800","C77.000x005","K11.205","C44.302","A52.700x004+J99.8*","D09.701","C79.500x007","K13.200x009","S01.300x012","K00.001","C30.100","K00.201","J34.802","J38.720","A36.100","S02.600x031","J39.208","C11.200","K10.210","K09.800x005","J38.313","D04.400x001","D37.007","J95.803","Q67.200","Q16.103","C02.000x002","J38.711","K03.601","K03.401","Q36.003","Z46.300x001","K04.006","K04.500","K13.700x007","K13.710","K07.012","S13.500","K03.102","K07.304","C10.400","Q38.500x002","S01.804","K07.200x011","Q30.900","K08.202","B49.x05","S01.500x021","Q27.800x027","T28.502","R07.000","S02.401","Q31.806","Q87.004","D00.000x008","K07.109","S02.500","S12.815","D37.000x010","D37.015","J31.202","Q27.800x024","H61.902","D18.000x505","D16.500","Q38.600x001","J95.800x001","Q30.805","J33.800x002","S03.301","K00.200x010","T27.401","D18.100x011","H71.x04","J38.102","C11.801","Q17.802","H70.800","C30.102","S00.302","J03.902","J38.311","D17.700x021","R59.000x004","C79.834","Q16.500","Z42.008","C02.300x003","J35.804","C43.000","D18.000x511","D37.000x009","S02.600x061","K11.602","Q16.301","H60.901","K01.000","H60.100x002","S11.003","C14.800x001","C32.100x004","C31.000","D38.505","H65.300x001","J10.100x003","Q30.100x001","T85.800x804","C43.401","Q38.600x002","L04.002","J03.900","J34.003","Q67.402","H93.901","Q37.500","Q27.300x007","Q35.500","C41.003","K03.103","T17.002","H74.802","K04.600","C14.000","Q17.000x005","D21.007","K07.205","D38.501","S01.502","D18.100x013","K07.300x006","Q67.400x906","K10.208","H90.500","H93.103","Q36.900x003","K12.107","J32.800x003","K07.100x017","J04.003","K13.700x023","A69.100x003","S01.300x051","D23.303","S13.500x009","K11.206","K09.809","C00.500x003","T81.800x008","K05.100x013","J38.707","K08.808","K12.106","J38.308","M95.208","K04.300","C06.900","C49.002","S00.500x051","K07.108","K03.100x001","J36.x00x004","Q18.800x001","K13.010","D14.006","C76.001","D37.000x005","Q17.300x005","K05.106","Q36.902","C06.101","S10.000x003","S02.711","H71.x01","Q35.902","C30.101","B44.800x004+H62.2*","K05.500x001","G47.300x001","C03.900","J32.300x004","J34.807","K02.800x001","K13.000x023","D38.507","H93.102","J34.810","C32.200","A18.400x018","D18.004","Q36.006","T27.000x002","M95.209","C76.004","C10.100","B44.200x001+J99.8*","C78.305","Q30.800x006","K10.101","Q36.002","K13.207","B36.903+H62.2*","D02.001","J95.000x007","Q18.807","K13.402","K09.003","K10.800x005","D03.400x002","D10.302","K13.603","J34.103","J39.210","D10.303","C13.100x001","S15.002","K11.903","C05.800","C30.005","J39.223","J39.200x004","K14.800x005","K08.204","K09.100x006","Q18.103","K06.808","H73.900","K13.011","D16.406","K07.200x001","J32.200x005","H70.004","H83.101","D22.302","J11.100x002","Q89.800x905","Z41.103","K00.400x002","Q36.004","D48.518","D36.701","S13.500x007","C43.302","K10.800x006","D37.012","C32.102","K08.103","S09.901","K11.800x010","Q35.100","H71.x00","J35.901","I89.000x014","H61.101","Z41.102","D18.000x809","D10.300x007","C31.800","G47.300x031","J34.803","H65.900x001","K10.214","S13.500x005","K11.400","S02.200","K11.000","Q18.800x002","H83.100","D38.503","C14.200","C13.900","K03.800x005","K12.200x017","K14.807","K11.700x002","J39.200x015","K06.000x003","K12.205","Z42.000x002","D16.401","K06.100","J06.000x002","K12.217","S11.700","K14.809","H74.300","H93.101","H71.x05","H74.801","J34.800x020","B08.802","D23.200x002","S11.800x082","D04.201","Q35.501","C02.900x002","S02.501","J00.x00x008","C06.902","H95.101","Q87.006","Q31.802","S02.912","H81.101","K11.208","S10.001","K05.103","Q17.400","C77.002","S00.700","D37.000x014","K13.700x004","K13.202","K00.203","Q89.800x907","K04.000","H93.200x002","J10.101","K09.805","C77.003","D38.000x002","J32.906","S03.400x001","J38.400x002","K13.004","J38.721","K06.801","Q18.100x008","Q18.700","H81.400","D37.001","J34.001","T17.000","S13.500x010","H91.900","Q67.407","Q67.405","J35.809","C10.800","C00.600","H72.100","J33.000","J38.000x012","K07.200x002","J39.202","C02.300x002","K12.114","S19.802","K13.300","K14.300x004","K11.100x004","J39.200x008","K03.201","K14.000","H60.502","K14.003","J32.005","C30.001","A36.200","C02.101","K14.400x001","C30.103","K04.500x001","Q35.301","J04.200","Q30.800x004","J32.903","S01.500x052","E10.600x032","C49.000x005","S01.300x071","H83.200x002","D38.500x004","J39.214","C12.x00x002","B08.501","C77.007","J32.302","K11.200x009","C03.000","Q18.102","J38.302","D14.000x009","B87.400x001+H94.8*","C41.008","D37.006","S13.500x004","K12.303","Q16.401","J38.000x032","S17.000x001","J30.100","C11.102","K08.807","C09.800","K13.000x006","Q17.303","H81.200","E85.405","H60.500x007","J04.000x006","K04.401","Q30.800x005","K03.700","K11.500x003","K11.804","Q17.100","J01.100","H65.901","Q38.001","H61.100x006","C30.002","D17.001","Q38.305","C32.104","A36.000x004","H95.900","Q18.805","Q31.000","S00.801","C05.900","D16.409","K11.800","H70.000","J38.715","K10.100x001","S02.400x005","K07.201","K09.004","K12.214","J38.700x007","J95.002","C02.200","H61.100x005","H61.805","S03.000","J34.007","M95.205","S02.600x011","Q35.907","Q17.300x006","H61.001","H74.300x004","K00.200x002","J38.700x001","Q16.900","Q36.903","K13.008","H66.101","K14.000x006","K13.400x002","C08.800x001","K00.000x004","J06.800x001","D14.000x010","C79.800x843","C78.300x006","K12.207","C00.000","Q30.800x003","H60.900","J39.216","J39.300","D14.000x006","K13.601","S09.905","S15.003","K05.500x005","J38.718","K09.100x004","D10.400","T81.800x013","J38.001","J38.703","D48.200x007","C00.100","H83.000x002","K04.902","K07.000x012","K11.800x007","C10.800x002","A18.802+K93.8*","K09.204","S13.500x011","K04.702","D10.000x005","D17.700x007","C04.900","H80.800x001","K09.900x001","K07.604","Q31.301","S01.301","J39.811","Q36.906","K07.303","C13.100x002","D21.000x008","C79.202","K13.000x016","H70.900","S09.900","H65.000x002","J38.300x008","D00.002","T17.001","K02.400x003","S09.200","D00.003","C41.000x027","C79.800x844","A69.100x002","J36.x00x003","J34.100x008","C00.002","H68.100x003","K13.709","K12.003","D48.200x003","Z46.400","Q27.800x028","K12.206","I88.103","J11.102","D02.000x004","Q36.001","E11.600x031","K14.901","Q35.302","K14.600x001","J38.300x015","R49.001","C49.001","K14.900x003","K03.800x001","J11.100x001","J32.301","Q85.900x037","S02.611","J38.300x016","K08.203","K06.900","S15.301","D48.519","H61.104","K13.016","C02.200x002","J38.000x021","K05.101","K13.206","Q17.002","Q18.903","S10.102","J32.102","C79.800x806","H73.101","C31.900x001","E85.401","K02.800x006","D04.401","H70.201","J35.806","K00.207","H60.400","K05.400","K03.603","K00.800x002","J04.000x008","J39.219","K13.707","K07.302","Q30.800x008","Q89.800x908","C31.100","C03.101","K10.801","J38.400","H61.803","K13.200x005","T81.804","K09.005","Q16.901","C47.000x005","L02.000","H91.900x002","H81.303","K14.800x012","H83.200","J37.001","K12.200x003","D16.400x019","S00.800x056","Q30.201","K05.200","K13.007","J31.002","K03.300x002","H91.200x001","S12.813","J34.000x010","S00.501","D10.000x002","D18.003","H95.800","J31.004","S03.200","S02.810","K05.100x010","D04.300x002","S15.900x001","D37.000x012","D21.002","K03.200x002","D04.300x001","Q18.400x004","H68.100","D18.000x510","C00.400","D14.002","C79.800x845","H93.300","H70.002","Q35.700","D22.301","K05.100x005","J33.001","K07.300x007","Q31.804","J38.101","H91.001","S03.400","J38.709","K13.700x022","D18.100x021","J38.710","C79.801","C79.500x004","J39.218","Q67.406","C10.000","K10.201","T17.300","D17.002","K03.600x001","H65.101","H90.200","H90.700","Q67.403","K12.302","J32.905","S00.500x052","S01.401","K13.009","K12.000x001","C47.000x009","A18.600","K13.706","D10.401","Q31.900","S13.400","K07.500x002","C08.900","S01.700","C71.900x010","Q18.100x009","Q17.400x002","S00.403","S10.902","H61.800x005","J32.904","C02.000","K13.001","Q38.400x001","S01.400x021","K11.209","Q38.500x003","H61.100x007","J02.801","K10.102","K07.000x008","K13.700x026","R49.000","K06.000x002","K03.204","C14.800x006","J30.000","J35.800x008","K13.000x014","K03.300x003","K13.700x006","K11.805","Q38.601","Q31.800x003","Q67.400x202","H69.000","K10.000","K13.014","C32.000","C79.503","S02.812","J10.100","K04.901","C06.100x005","D10.500x001","K09.001","K11.807","S13.400x005","D21.001","J32.300","Q37.100","D37.008","K08.102","K14.804","S09.800x002","K00.301","D22.200x002","K07.105","K13.401","C08.100","K08.805","K14.900x002","J32.900x007","S13.601","C01.x00x003","H74.900","K02.000","D37.000x007","H83.800x002","S01.000","K13.600x001","J01.900x003","Q85.900x035","A52.700x003+J99.8*","K07.200x014","Q36.905","H70.800x002","K07.300x009","J01.800","H80.100x002","C44.306","S09.800x003","Q35.300","D37.009","K07.200x012","H80.100x001","S02.400x001","K11.301","H66.102","K12.210","J02.000","D37.013","I88.900x007","K06.000x004","D48.200x002","K05.100x008","J34.804","K12.213","C79.800x828","D18.000x807","K00.400x004","S15.005","Q30.001","D48.200x005","H61.804","H70.000x007","Q17.800x004","S02.600x021","C49.004","G47.300x033","D36.700x006","J38.200x002","K10.000x002","Q89.202","M95.206","B37.000","C79.804","H91.200","D22.401","J34.800x009","D23.200x003","K13.210","K11.600","C44.200x001","S02.500x002","D18.000x506","D10.200x002","D03.201","K11.200x014","K11.900x004","D37.000x001","C03.901","S00.002","J35.805","Q75.900x005","S19.800x004","H68.000","J39.000x001","J34.811","K04.100","C79.500x028","Z45.304","D11.000","J39.809","C49.005","D36.702","Q31.800x005","G47.303","K13.400x001","K13.200x007","D17.700x003","I77.003","K07.305","C31.200","B44.800x007","T18.001","A36.200x002","Z45.302","K02.800x008","K00.603","K00.202","S11.001","K08.804","C00.800","C47.000x008","K12.200x019","K00.101","A69.000","J33.003","K06.100x002","C06.200","K11.200x011","H65.300","H81.302","D00.008","C32.103","Q85.900x038","Q37.000","K09.201","H60.100","C05.200","J37.003","I88.101","K05.500x003","S02.800x003","D21.000x002","C00.301","D18.000x504","S10.003","J37.100","J32.802","K07.008","H90.600","D17.000x003","C11.202","A52.703+J99.8*","J39.002","R06.501","S10.004","H83.200x001","H83.900x001","D23.201","A18.800x034+K93.8*","K13.703","K07.101","K03.101","H60.000x004","J02.903","J38.000x006","K12.305","Q17.500","J04.100","D23.200x008","K08.801","C09.902","S12.814","K03.300","K13.700x001","K06.901","D10.601","K12.002","Q18.800x004","S02.600x081","C79.505","C44.304","Q32.101","S01.300x061","K07.100x015","J39.003","D38.506","J39.222","K14.500x002","E14.600x032","S01.503","J38.000x002","J31.201","K05.100x012","D37.004","K06.805","S02.700x004","H60.300x006","S11.002","K12.100x012","T16.x00x002","Q16.102","K09.808","H60.000x002","K06.802","S00.803","H66.001","J95.001","Q18.100x003","D14.003","C79.800x824","H83.200x003","K02.101","K14.004","S17.801","K13.201","K00.501","B05.300+H67.1*","K02.100","K06.809","J34.108","J31.100","K11.603","D38.001","C04.100","S00.500","J95.005","K00.604","J01.901","J32.800x007","K14.801","C08.900x001","J34.106","K08.000","D38.003","J02.900x002","M31.301","K13.000x017","H61.100x009","J34.200","K11.207","C02.900","D14.000x005","S00.804","H73.804","H92.100x001","J32.006","H80.200","J34.800x034","D17.700x020","H81.400x003","J32.000","K08.104","K02.900x001","S09.903","J02.901","A18.601+H67.0*","J36.x00x001","Q38.002","K05.202","C31.801","Q85.900x012","B36.902+H62.2*","K14.102","S00.404","S02.400x003","J38.200x001","C00.500","C30.000","H60.300x002","D02.303","K07.800x001","K13.700x021","C79.800x826","D11.900x001","S01.200x092","H72.900","J01.300","D10.100","Q18.806","D44.600x002","J04.002","S01.200x091","C00.102","J33.100","K05.100","J38.000x011","K12.108","J32.900x010","S02.600","S15.801","C30.004","C07.x00x003","Q38.502","C09.100x002","K07.106","B37.003","J39.204","J38.700x027","D36.700x007","K00.605","H66.900x002","Q89.800x906","R04.100","H90.100","Q16.101","D00.006","J38.300x011","S13.500x006","C41.000x021","S08.801","J32.900x008","B00.201","C79.800x833","C06.102","S03.501","C11.300","K04.701","S00.300x051","D21.004","S01.302","K02.400x001","K08.300x002","H80.900","H83.000x001","J39.212","K00.204","K06.800x013","C32.800","H73.802","H90.502","K10.803","Z42.000x019","E85.402","K07.000x002","C00.401","E85.409","Q27.800x040","S11.201","E11.600x032","B48.100","J33.002","J32.400x001","J38.312","K13.700x018","C03.001","C32.900","Z45.801","J34.800x006","S01.500x051","H70.003","D02.000","H90.000","C41.000x019","B00.203","Z42.002","S01.300x002","J32.001","J31.003","S11.900","H61.102","J02.900","J39.217","S09.907","D03.000","J38.201","Z43.000","D16.500x002","D00.007","K13.700","J01.001","S13.500x008","S17.000x002","S17.800","K09.801","D10.700","J10.100x002","Q18.200","Q37.400","K08.201","Q38.500x006","Q36.000","K07.005","Q36.005","D36.703","K07.200x003","D18.000x845","D10.600","H60.302","Q38.600x006","K11.501","Q75.804","J38.601","K09.100x001","Q18.003","K06.100x001","J38.700x013","K13.200x011","C03.000x002","J95.806","C79.832","G47.304","S00.802","C41.004","C44.300","C10.101","K04.007","D10.503","J34.102","K12.216","D37.011","D48.200x004","S01.001","K12.112","D03.200x002","K10.212","K08.900","K14.900x004","J34.805","K07.000x007","J38.002","J38.705","Q35.101","J39.201","D18.000x808","J38.708","D21.006","H70.100","S00.004","K12.211","J95.003","K12.200x012","K13.700x019","K14.808","C43.201","Q17.300x002","D37.019","H92.000","J34.104","K00.000x003","K13.400","S09.801","D00.011","M95.100","K00.801","C47.000x004","J38.303","H90.300","K13.711","Q37.300","S00.000x053","Z43.001","S02.802","K12.100x002","K13.400x004","S01.500x022","K14.803","K13.700x009","C32.101","C41.100","J34.800x019","Z42.005","K13.714","C14.800x004","D38.500x003","K10.205","E85.410","Q18.600","D10.101","J02.900x005","J95.004","C78.302","H83.800x003","K10.808","K14.805","H81.901","Q17.000x003","C02.800","K06.807","J34.004","M85.000x083","Q30.804","Q36.100","S01.400x011","K05.200x002","K09.100x003","Q17.001","D37.014","A18.800x025+K93.8*","D02.000x003","J38.400x004","H65.102","J31.005","C05.100","C10.102","K12.105","Q18.100x006","H70.200","J39.203","D37.000x015","Q17.003","H95.900x002","D18.000x021","K11.204","K14.100x001","M95.204","Q16.200","Q18.804","C00.200","Q38.004","D10.306","D10.000x004","J10.100x001","C79.802","I88.104","Z42.000x015","J30.200","M95.203","T28.000x002","J34.006","S01.300x031","Q75.200x001","K00.300x002","C09.100x001","C14.800x003","C79.800x840","J32.902","Q34.801","C06.000","H81.301","H81.000","K07.100x016","K13.702","J37.002","Z42.009","Q30.101","C03.900x001","J03.000","S01.802","J32.400","J95.800x013","H61.300","C30.003","K07.200x005","K12.109","J39.224","J33.803","C10.300","K11.606","J06.000","H60.500x006","S01.900","J38.706","D00.012","D48.702","Z42.010","S00.003","H65.400x001","H80.000x002","K00.200x003","D16.403","H70.101","K10.809","S02.803","C49.000x004","R44.201","C79.800x812","K00.503","K07.104","J38.500","S10.801","H60.401","J36.x00","J38.307","Q31.200","K00.500x002","D10.300x005","D10.602","H65.900","J39.215","Q31.500","H72.101","J95.000x002","A69.000x002","C77.001","Q35.500x004","K14.001","K13.000x012","D37.005","C41.009","S13.402","S08.800","T90.800","H70.001","A18.203","D18.100x027","H66.301","C43.400x002","T85.800x810","K13.012","J34.800x002","S11.004","C43.200x001","D00.000x007","H61.200","K02.800x002","K04.900","K11.400x003","Q89.800x903","S01.200x021","J39.001","D10.000x003","C41.011","T85.800x811","H73.800x005","G47.300x035","C07.x00","C39.801","H73.801","K09.000","K07.100x011","D48.200x008","K13.203","S01.505","J38.700x003","K10.901","Q89.800x909","S15.300","C11.201","K03.202","J31.203","K07.009","K04.002","H91.300x001","J35.803","K00.602","C11.000","D37.010","J32.800x002","J34.101","K11.803","Q18.101","H83.800x004","K04.501","D00.010","D10.309","K12.301","K12.209","K10.002","K08.302","H83.302","J39.900","J38.000x022","A18.200x005","K12.202","I77.001","K13.602","K04.000x008","Q38.301","K06.806","J32.201","H90.400","C13.800","K10.100x003","D38.509","K05.301","Z43.000x002","C43.300","J95.000x001","C09.100x003","J35.300","J09.x05+H67.1*","J32.803","K05.100x011","C47.000x007","S15.100","K07.900","H81.800","K13.204","H66.900","S09.904","Q38.400x002","D02.002","Q38.300x003","Z42.006","K10.800x002","K08.806","J00.x00x007","D14.007","K05.300","K05.300x002","H95.102","K06.800x014","J38.700x009","C02.100x001","K04.200","D02.301","C79.803","S13.403","J10.800","H91.801","K07.007","K06.800x009","T27.402","K10.000x004","K13.209","J04.000","H61.100x002","J38.301","D16.400x025","H60.001","S02.600x091","K12.204","K10.204","C00.500x004","K11.700x003","B02.801+H62.1*","J35.801","C14.001","K11.200x012","K13.700x003","J32.900x011","C76.002","C00.900","G47.300x037","S01.504","K07.110","J39.220","K12.100x011","K07.100x008","D18.100x007","K05.000x002","M95.007","D38.002","S02.411","K09.002","D00.013","K14.301","J95.805","K11.402","B37.200x005+H62.2*","C79.831","S01.500x042","D37.000x004","H60.300x005","J06.900","C76.000x007","K07.103","D38.502","J35.807","T17.200","K13.700x025","J30.300x002","K05.102","I88.102","T28.000x003","C02.100","J03.800","Q17.501","Q17.801","J34.801","C06.800","D14.000x007","K10.000x003","D38.508","D23.300x003","J32.200x004","D03.301","D02.302","H73.100","B37.002","K05.105","D00.005","J31.204","K13.600","K12.110","A18.804+K93.8*","Q17.000","D10.000","C14.800x002","S15.001","K04.000x007","C78.301","K08.803","K03.900","C79.500x016","C79.201","H93.001","D18.000x858","H73.102","S03.100","B37.001","C06.901","J02.905","D00.004","D00.000x005","K00.502","K04.802","K02.001","R49.100","C09.900","K09.807","J34.813","Q30.000","A36.000x003","K14.300x003","D14.101","K09.203","K07.202","C32.001","K11.901","J38.600","T16.x00","G47.300x036","H69.800","M95.002","H66.200","H92.200","J38.200","D36.700x004","S19.900","H60.100x001","K10.103","S02.201","T85.607","K10.900x002","K14.401","C08.800","H72.800","H73.000","C14.800x007","D14.004","H80.000x001","D11.900","M95.201","C79.835","B00.200x001","K00.206","H60.503","K13.002","K11.203","K00.100x001","K04.101","C79.830","K00.601","K12.212","J39.200x009","G47.301","J38.719","K07.100x009","K10.209","J32.200","Q18.200x003","Q75.805","K05.204","H66.000","J02.902","C44.300x006","D16.400x013","H83.801","K09.200x001","K13.500x002","B08.500","S01.500x001","C41.012","S09.101","D37.000x013","D38.504","C44.400x004","K06.000","J04.004","J31.200","Z46.100","Q38.801","C44.307","D10.900","J32.002","K11.201","K14.800x003","H74.400","I86.000","G47.300","H68.101","S15.004","L04.001","T18.000","C00.403","S09.902","S02.612","H93.201","J95.809","J38.000x001","D37.016","Q38.300x007","C79.502","K07.011","H60.002","K03.801","J34.300","K07.602","H73.001","J01.900","K07.107","S01.400x031","D17.700x006","H61.103","H95.900x001","K11.202","C46.200","J33.000x002","L04.003","K10.202","K14.000x007","H66.900x003","J33.805","K07.100x014","K11.800x002","Q87.000x301","K07.003","B08.000x003","K07.203","J38.000x005","H65.200","C41.000x025","C78.300x005","K11.605","C39.000","K13.000x007","Q18.900x002","D38.500x005","D18.102","J38.701","Q27.800x030","C00.402","K14.300x001","C32.300","Q27.300x010","K11.500x005","H83.300x001","G47.302","S01.506","J39.101","J39.209","E14.600x031","Z45.303","J32.800x004","C78.300x008","S10.901","K00.400x001","Q18.802","D10.502","K10.001","Z42.007","K00.600x006","K00.700","C09.100","K00.400","Q18.002","C14.002","K03.203","Q38.000x007","T16.x00x001","K00.401","S13.502","M31.300","A18.805+K93.8*","K08.809","D10.305","H70.800x001","C09.901","D38.000x001","J32.900x009","K03.000x002","D23.000","J32.800x009","K03.800x003","C11.301","K12.111","K09.202","B44.800x001","C78.300x010","K11.401","C71.900x009","D21.000x007","S10.101","K12.115","D22.000","Q18.801","K05.400x002","S08.100","D86.802","S01.200x031","J03.901","C76.005","J95.000","S10.900","K14.400","Q38.500x009","D10.701","K13.403","K14.800x010","A18.200x002","K12.116","K10.302","Q27.800x026","C76.003","K04.801","K03.104","C41.002","H66.400","K13.006","H72.200","B49.x06","K13.003","D37.002","H95.000x001","C41.001","D37.000x006","C11.100","S15.800x002","J05.100","C00.101","K00.600x008","Q38.200","K02.800x007","D11.701","S08.000","Q16.300","B02.800","C31.300","Z45.301","M95.003","H93.900x001","C02.400","Q37.900","J34.002","M95.005","K11.600x008","D14.103","Q38.400","D16.410","J38.305","Q30.801","K04.703","J95.400","K07.600x003","K02.300","K07.006","C77.008","J00.x00","T85.606","J33.804","J34.008","J39.213","Q18.500","I88.900x004","K00.205","S01.501","C02.300","C14.800","H74.000","J00.x00x006","D48.700x007","D00.009","J35.100","D14.008","J38.304","H81.902","K14.500x001","K03.105","C00.303","J38.714","Q16.501","Q35.903","J95.501","R43.800x002","J04.000x004","K10.211","Q17.300x004","Q89.800x904","C06.100x003","C11.300x001","K12.203","H81.900","S13.501","D37.000x011","C76.006","D18.000x508","S02.813","D14.005","K07.004","K14.200","K12.103","J34.800x004","K12.102","B37.800x084","S00.400","C11.300x004","S02.211","H60.303","C11.800","C11.101","Q16.000","Q27.802","C47.000x011","R04.000","Q27.800x036","J34.105","Q30.300","J01.000","J38.700x017","J34.800x001","K02.200","Q18.104","K05.500x002","H91.100","D14.100x002","Q38.304","C00.404","K02.800x005","H60.000x005","S00.402","H93.800x001","A69.100x001","D37.000x002","K10.207","K10.804","R49.201","Q18.800x003","K03.000","K04.201","B49.x10","J11.100x003","K00.000","D16.400x018","Q38.500x005","C44.401","K10.206","K10.300x003","K11.701","K13.013","H60.300x003","S11.100x001","D03.401","K10.800x012","K04.200x003","K02.901","S03.400x002","K13.700x010","H91.900x004","H93.200x005","K07.200x013","K00.200x001","C43.200x003","C00.500x002","K12.000","J35.800x009","T70.100","J31.000","M95.001","K07.000x011","J38.717","K12.200x011","K11.302","H60.301","K00.600x007","K07.204","Q31.100","Q18.300","A36.000x002","K09.000x005","K12.201","B49.x07","D10.501","K07.300x003","Q38.500x007","H60.801","K10.800x011","J35.200","K12.215","D48.200x009","K00.200x009","J32.000x009","J37.005","K13.200x006","K10.805","J33.802","S17.001","D14.100","K10.213","K11.902","D23.300x004","S02.412","D18.000x507","H72.001","D16.411","S19.801","K12.101","J39.205","K11.200","K12.117","K09.000x007","J39.207","K11.211","J10.803+H67.1*","K06.803","D22.400x002","Q30.800x007","J32.000x005","C44.305","K07.300x005","K02.800x003","K13.700x024","Q32.100","D16.402","S13.401","C79.203","J38.400x003","K03.800x002","K00.600x002","J38.712","K03.400","C06.100x002","Q36.901","D36.700x005","K13.700x011","K07.903","K01.100","K10.802","K05.600","H70.103","K05.000","C00.200x002","C00.500x005","D37.000x003","K13.208","C09.000","E10.600x031","K03.300x001","C41.006","C41.010","K02.400x002","R49.202","S01.200x011","H90.801","S01.803","C11.300x006","K07.600x001","K13.005","C41.000x023","K06.810","K09.103","C04.000","K07.300x008","A36.000","H71.x02","D10.603","J34.812","K09.804","S03.000x001","Q18.001","Q67.300","R06.700","K11.100x002","J39.206","J32.100","D14.102","K04.803","Q31.805","T86.802","J30.101","D48.700x025","T70.000","C14.800x005","K11.503","H83.000","Q32.000","K04.700","D02.300","H93.100","J34.809","J39.200x016","J32.004","J39.225","K03.500","Q67.401","D17.700x032","J38.704","K13.704","K06.800x015","D18.001","J04.005","H90.501","C41.000x020","K13.705","J10.100x004","D10.301","Q38.300","J32.800x001","H72.000","C79.200x008","H61.000","J38.702"};
        String[] dept_list={};
        if (!(true && Base.contains(mdc_zd,record.zdList[0]))){
            return "";
        }
        
        Base.groupMessages.putMessage(record.Index,"符合MDCD入组条件，匹配规则：主诊断匹配");
        String result;

        result=DA1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DB1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DB2.group(record);
        if (result.length()>0){
            return result;
        }

        result=DB3.group(record);
        if (result.length()>0){
            return result;
        }

        result=DC1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DC2.group(record);
        if (result.length()>0){
            return result;
        }

        result=DD1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DD2.group(record);
        if (result.length()>0){
            return result;
        }

        result=DE1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DE2.group(record);
        if (result.length()>0){
            return result;
        }

        result=DG1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DG2.group(record);
        if (result.length()>0){
            return result;
        }

        result=DJ1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DK1.group(record);
        if (result.length()>0){
            return result;
        }

        if (false && record.ssList!=null && record.ssList.length>0  && Base.intersect(Base.SS_VALID,record.ssList)){
            Base.groupMessages.putMessage(record.Index,"符合DQY入组条件，存在有效手术操作："+String.join(",",Base.Intersect(record.ssList,Base.SS_VALID)));
            return "DQY";
        }

        result=DR1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DS1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DT1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DT2.group(record);
        if (result.length()>0){
            return result;
        }

        result=DU1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DV1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DW1.group(record);
        if (result.length()>0){
            return result;
        }

        result=DZ1.group(record);
        if (result.length()>0){
            return result;
        }

        Base.groupMessages.putMessage(record.Index,"不符合MDCD的ADRG入组条件");
        return "";
    }
}

